package com.wgc.goods.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wgc.goods.domain.Spec;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 15776
* @description 针对表【goods_spec(规格表)】的数据库操作Service
* @createDate 2024-07-27 11:24:17
*/
public interface SpecService extends IService<Spec> {

    List<Spec> selectAll();

    Integer insert(Spec spec);

    Integer update(Spec spec);

    Integer delete(String ids);

    Spec selectById(Integer id);

    List<Spec> selectList(Spec spec);

    Page<Spec> findPage(Integer page, Integer size);
     Page<Spec> findPage(Spec spec,Integer page, Integer size);

}
